package com.gjp.service.impl;

import com.gjp.service.HelloService;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by 郭金鹏 on 2018/1/27.
 */
@Service
public class HelloServiceFallback implements HelloService{

    @Override
    public String hi(@RequestParam("name") String name) {
        return "请求错误";
    }
}
